// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}


// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block
  }
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}

.el-submenu__title i {
  color: white;
}

/* 重写警告按钮样式 */
.el-button--warning {
  background-color: #f67925;
  border-color: #f67925;
}

.el-button--warning:hover {
  background-color: #fa8d45;
  border-color: #fa8d45;
}

/* 默认按钮 */
.el-button--primary {
  background-color: #006eff;
  border-color: #006eff;
}

.el-button--primary:hover {
  background-color: #2282ff;
  border-color: #2282ff;
}

.el-button--primary:focus {
  background-color: #006eff;
  border-color: #006eff;
}

// 成功按钮
.el-button--success {
  background-color: #46bf89;
  border-color: #46bf89;
}

.el-button--success:hover {
  background-color: #6ed5a7;
  border-color: #6ed5a7;
}

/* 删除按钮 */
.el-button--danger {
  background-color: #f65353;
  border-color: #f65353;
}

.el-button--danger:hover {
  background-color: #f67373;
  border-color: #f67373;
}

/* 分页颜色样式重写 */
.el-pagination.is-background .el-pager li:not(.disabled).active {
  background-color: #006eff;
}

/* 表单下外边距 */
.el-form-item--mini.el-form-item,
.el-form-item--small.el-form-item {
  margin-bottom: 0.8rem
}

/* 分页按钮 */
.el-pagination {
  display: flex;
  justify-content: left;
  align-items: center;
  padding: 0.6rem;
}

.el-input--mini .el-input__inner {
  height: 22px;
  line-height: 22px;
}

.el-form--inline .el-form-item {
  margin-bottom: 1rem;
}

.el-card__header {
  font-size: 1rem;
  padding: 0.8rem 1rem;
}